package cn.edu.scau.cmi.yangzemin.comprehension.util;
import org.springframework.context.ApplicationContext;
import org.springframework.context.support.ClassPathXmlApplicationContext;

public class ApplicationContextUtil
{
	private static ApplicationContext applicationContext = null;

	public static ApplicationContext getInstance()
	{    
		if (applicationContext == null)
		{
			applicationContext = new ClassPathXmlApplicationContext(
					"applicationContext.xml");
		}
		return applicationContext;
	}
}
